package com.weacar.weixin.dao;

import com.weacar.weixin.model.Bonus;
import com.weacar.weixin.util.MybatisAware;
import org.apache.ibatis.annotations.Param;

/**
 * @author Fong
 */
public interface BonusDao extends MybatisAware {

    Bonus queryByUser(@Param("userName") String userName);

    void save(Bonus bonus);

    void update(Bonus bonus);

    Bonus queryByPhone(String phone);
}
